<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>修改歌手信息</title>
	
</head>
<body>
 <?php
   
   $row = $data['geshou']; 
   var_dump($row);
    $vid = $row['vid']; 
   $geshouname = $row['geshouname'];
   $uploaddate = $row['uploaddate'];
   $tid = $row['tid'];
   $intro = $row['intro'];
   $pic = 'vimages/'.$row['pic'];	  
	//将查询结果显示在表单中
 ?>
<form method=post action="index1.php?c=geshou&m=updategeshou" enctype="multipart/form-data" >
<table border="1">
<tr>
  <td width="20%">id</td>
  <td width="80%">
  <input type="hidden" name="vid" value=<?php  echo $vid;  ?>>  
  </td>
</tr>
<tr>
<td>歌手名称：</td>
  <td><input type="text" name="geshouname" size=30  value=<?php  echo $geshouname;  ?>></td>
</tr>

<tr>

<tr>
<td>更改日期：</td>
<td><input type="date" name="uploaddate" value=<?php  echo $uploaddate;  ?>>
</td>
</tr>
<tr>
<td>地区：</td>
<td>
<select name="tid">
<option value="0">请选择</option>
<option value="1"<?php  if($tid=='1') echo 'selected';  ?>>内地</option>
<option value="2"<?php  if($tid=='1') echo 'selected';  ?>>港台</option>
<option value="3"<?php  if($tid=='1') echo 'selected';  ?>>欧美</option>
<option value="9"<?php  if($tid=='1') echo 'selected';  ?>>韩国</option>
</select>
</td>
</tr>
<tr>
<td>简介</td>
<td>
<textarea name="intro"><?php  echo $intro;  ?>自我简介：</textarea>
</td>
</tr>
<tr>
<td>头像</td>
<td>
<img src='<?php  echo $pic; ?>' width=100 height=150>
  <input type="file" name="pic">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="提交">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>

</body>
</html>